/**
 * This code is released under lgpl v3 license.
 * All rights reserved.
*/

package flash.events;

/**
 * MouseEvent overlay type
 * @author yuan yunchang    dukerr@gmail.com
 */
public class MouseEvent extends Event{
    public static final String CLICK = "click";
    public static final String DOUBLE_CLICK = "doubleClick";
    public static final String MOUSE_DOWN  = "mouseDown";
    public static final String MOUSE_MOVE = "mouseMove";
    public static final String MOUSE_OUT  = "mouseOut";
    public static final String MOUSE_OVER = "mouseOver";
    public static final String MOUSE_UP = "mouseUp";
    public static final String MOUSE_WHEEL = "mouseWheel";
    public static final String ROLL_OUT  = "rollOut";
    public static final String ROLL_OVER  = "rollOver";

    protected MouseEvent() {
    }
    public native final boolean getAltKey()/*-{
    return this.getAltKey()
    }-*/;
    public native final boolean getButtonDown()/*-{
    return this.getButtonDown()
    }-*/;
    public native final boolean getCtrlKey()/*-{
    return this.getCtrlKey()
    }-*/;
    public native final boolean getDelta()/*-{
    return this.getDelta()
    }-*/;
    public native final double getLocalX()/*-{
    return this.getLocalX()
    }-*/;
    public native final double getLocalY()/*-{
    return this.getLocalY()
    }-*/;
    public native final boolean getShiftKey()/*-{
    return this.getShiftKey()
    }-*/;
    public native final double getStageX()/*-{
    return this.getStageX()
    }-*/;
    public native final double getStageY()/*-{
    return this.getStageY()
    }-*/;

}
